<template>
  <div class="app-container">
    <div>
      <label-wrap>讲师名称：</label-wrap>
      <el-input v-model="Teacher.name" placeholder="讲师名" class="ment-margin" size="small" style="width: 100px;"/>
      <label-wrap>类型：</label-wrap>
      <el-select v-model="Teacher.time" placeholder="请选择" size="small" style="width: 100px;"  class="ment-margin">
        <el-option label="高级讲师" value="高级讲师"></el-option>
        <el-option label="首席讲师" value="首席讲师"></el-option>
      </el-select>
      <label-wrap>添加时间：</label-wrap>
      <el-date-picker v-model="Teacher.date1"  class="ment-margin" type="date" size="small" placeholder="选择日期" style="width:180px;"  />
      <label-wrap>结束添加时间：</label-wrap>
      <el-date-picker v-model="Teacher.date2" class="ment-margin" type="date" size="small" placeholder="选择日期" style="width: 180px;"  />
      <el-button
        size="small"
        icon="el-icon-search"
        type="primary"
      >查询</el-button>
      <el-button
        size="small"
        icon="el-icon-refresh-right"
        type="warning"
      >清空</el-button>
    </div>
    <el-table
      :data="tableData"
      border
      size="small"
      style="width: 100%"
    >
      <el-table-column
        prop="date"
        label="ID"
      />
      <el-table-column
        prop="name"
        label="名称"
      />
      <el-table-column
        prop="address"
        label="提现"
      />
      <el-table-column
        prop="date"
        label="资历"
      />
      <el-table-column
        prop="name"
        label="简介"
      />
      <el-table-column
        prop="address"
        label="添加时间"
      />
      <el-table-column
        prop="address"
        label="排序"
      />
      <el-table-column label="操作">
        <template slot-scope="scope">
          <el-button
            size="mini"
            @click="HandTeacherUpdate(scope.$index, scope.row)">修改</el-button>
        </template>
        <template slot-scope="scope">
          <el-button
            size="mini"
            @click="HandTeacherDelete(scope.$index, scope.row)">删除</el-button>
        </template>
      </el-table-column>
    </el-table>
  </div>
</template>

<script>

export default {
  name: 'Teachers',
  data() {
    return {
      Teacher: {
        name: '',
        date1: '',
        date2: '',
        time:'',
        sendle:''
      }
    }
  },
  created() {
  },
  methods: {
  }
}
</script>

<style scoped>
.ment-margin{
  margin-bottom: 20px;
  margin-right: 7px;
}
::v-deep .el-table th,
::v-deep .el-table td {
  text-align: center !important;
}
</style>
